@prefix: month_salary_template;

.monthSalaryTemplate {
    background: #fff;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
    height: 460px;
    display: flex;
    flex-direction: column;

    &:last-child {
        margin-bottom: 0;
    }

    &Caption {
        padding: 16px 20px;
        background: linear-gradient(180deg, #fdfdfd 0%, #fafafa 100%);
        border-radius: 4px 4px 0 0;

        .text-third,
        .text-third.ant-typography {
            color: rgba(0, 0, 0, 0.3);
        }

        .text-secondary,
        .text-secondary.ant-typography {
            color: rgba(0, 0, 0, 0.45);
        }
    }

    &P {
        padding: 12px 20px;
    }

    &Content {
        padding: 12px 20px;
        flex: 1;
        overflow: auto;
        &Body {
            display: flex;
            padding: 16px 40px;

            > * {
                margin-bottom: 12px;
            }

            &.emptyBody {
                display: block;
                position: relative;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -61%);
            }
        }
    }
}
